package com.intellagric.service.iftmonitor.ift_data_record;

import com.intellagric.common.pojo.LayuiDataGridResult;
import com.intellagric.common.pojo.ResponseMessage;
import com.intellagric.module.iftmonitor.DataRecordVo;
import com.intellagric.pojo.IftDataRecord;

import java.util.Date;

/**
 * @Author: zhy
 * @email: 1269679946@qq.com
 * @Date: 2018/10/21
 * @DESC： 数据记录服务接口
 */
public interface DataRecordService {

    //增加通道
    ResponseMessage addDataRecord(IftDataRecord dataRecord);

    //删除通道
    ResponseMessage deleteDataRecord(String id);

    //修改通道
    ResponseMessage editDataRecord(IftDataRecord dataRecord);

    //查询通道
    IftDataRecord getDataRecordById(String id);
    LayuiDataGridResult getDataRecordList();
    LayuiDataGridResult getDataRecordListByVo(DataRecordVo dataRecordVo);
    LayuiDataGridResult getDataRecordPage(int page, int rows);
    LayuiDataGridResult getDataRecordPageAndRelation(int page, int rows);
    LayuiDataGridResult getDataRecordPageAndRelationByVo(int page, int rows,DataRecordVo dataRecordVo);

}
